package com.tenghu.core.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import com.tenghu.core.dao.ISqlEmpDao;
import com.tenghu.core.service.ISqlEmpService;
import com.tenghu.sql.model.Emp;

@Service
@Transactional
public class SqlEmpServiceImpl implements ISqlEmpService{
	
	@Autowired
	private ISqlEmpDao empDao;

	@Override
	public List<Emp> queryEmpList() {
		return empDao.queryForList();
	}

}
